
layui.use(['layer','laydate'], function(){
});

var wnMachineDeviceImeiConsoleGrid =new consoleGrid({table_id:"wnMachineDeviceImei"});
wnMachineDeviceImeiConsoleGrid.init();
function wnMachineDeviceImeiTableOperate(value){
return "<button type='button' class='btn btn-xs btn-default command-edit' onclick='consoleOpenWindow(\"wnMachineDeviceImei\",\"/console/wn_machine_device_imei/edit?id="+value+"\",\"编辑\")'><span class='glyphicon glyphicon-pencil'></span></button> ";
}

function wnMachineDeviceImeiLoadParam(params){

    params.farmId=$("#farmId").val()==null||$("#farmId").val()==''?"-1":$("#farmId").val();
    params.machineId=$("#id").val();
return params;
}

